// API接口路径常量
export const API_ENDPOINTS = {
  // 用户管理
  USERS: '/users',
  USER_DETAIL: (id) => `/users/${id}`,
  
  // 店铺管理
  SHOPS: '/shops',
  SHOP_DETAIL: (id) => `/shops/${id}`,
  SHOP_UPLOAD: '/shops/upload',
  
  // 景区管理
  SCENICS: '/scenics',
  SCENIC_DETAIL: (id) => `/scenics/${id}`,
  SCENIC_UPLOAD: '/scenics/upload',
  
  // 留言板管理
  MESSAGES: '/messages',
  MESSAGE_DETAIL: (id) => `/messages/${id}`,
  MESSAGE_REPLIES: (id) => `/messages/${id}/replies`,
  MESSAGE_AUDIT: (id) => `/messages/${id}/audit`,
  
  // 景点预约管理
  RESERVATIONS: '/reservations',
  RESERVATION_DETAIL: (id) => `/reservations/${id}`,
  RESERVATION_EXPORT: '/reservations/export',
  RESERVATION_STATS: '/reservations/stats'
}

// 状态常量
export const USER_STATUS = {
  ACTIVE: 'active',
  INACTIVE: 'inactive',
  BANNED: 'banned'
}

export const SHOP_STATUS = {
  ACTIVE: 'active',
  INACTIVE: 'inactive'
}

export const SCENIC_STATUS = {
  ACTIVE: 'active',
  INACTIVE: 'inactive'
}

export const MESSAGE_STATUS = {
  PENDING: 'pending',
  APPROVED: 'approved',
  REJECTED: 'rejected'
}

export const RESERVATION_STATUS = {
  PENDING: 'pending',
  CONFIRMED: 'confirmed',
  CANCELLED: 'cancelled',
  COMPLETED: 'completed'
}

// 推荐等级
export const RECOMMEND_LEVELS = [
  { value: 1, label: '1星' },
  { value: 2, label: '2星' },
  { value: 3, label: '3星' },
  { value: 4, label: '4星' },
  { value: 5, label: '5星' }
]

// 分页默认配置
export const PAGINATION_CONFIG = {
  PAGE_SIZE: 10,
  PAGE_SIZES: [10, 20, 50, 100]
}